@charset "utf-8";

/* 四周阴影 */
@mixin box-shadow($bulr: 10px, $color: rgba(189, 205, 211, 0.5)) {
  -webkit-box-shadow: 0 0 $bulr $color;
  -moz-box-shadow: 0 0 $bulr $color;
  box-shadow: 0 0 $bulr $color;
}

/* 布局 */
@mixin layout($dir: row, $align: center, $justify: flex-start) {
  display: flex;
  flex-direction: $dir;
  justify-content: $justify;
  align-items: $align;
}

/* 多行文本省略 */
@mixin textOverflow($row: 1) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $row;
  -webkit-box-orient: vertical;
}

/* 自定义字体 */
@mixin font($family: medium,$size: 28rpx,$color:$color-title,$height:auto) {
	font-family: $family;
	font-size: $size;
	color: $color;
	line-height: $height;
}

/* 多行文本省略 */
@mixin box($width: 670rpx,$left: 40rpx,$position:relative) {
	position: $position;
	width: $width;
	margin-left: $left;
	box-sizing: border-box;
}

/* 文字装饰 */
@mixin decoration($decoration: underline,$color: #EBEBEB,$offset:50%) {
	text-decoration: underline;
	text-decoration-color: #EBEBEB;
	text-underline-offset: 50%;
}
